﻿using MinimalApi.Models;

namespace MinimalApi.Endpoints;

public static class EmployeeEndpoints
{
    public static void MapEmployeeEndpoints(this WebApplication app)
    {
        app.MapGet("/employee", (IEmployeesRepository employeesRepository) =>
        {
            // var employees = employeesRepository.GetEmployees();
            //
            // return Results.Ok(employees);
        });


        
    }
}